n=1
for i in range(4):
    n=2*(n+1)
print("一共有{}个桃子。".format(n))
print("第一天吃了{}个桃子。".format(n/2+1))


n=1
for i in range(4,0,-1):
    n=n+1<<1
print(n)
    
